home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / CDMAX.ZIP / CDmax.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1998-11-09  |  4.1 KB  |  115 lines

  1. ; CDmax - clark_tisdale@mindspring.com
  2. ;   Thanks to Luke Stephenson (lstephenson.tcs.on.ca) for getting this install started
  3.  
  4. [Version]
  5. Signature="$CHICAGO$"
  6.  
  7. ; W h a t  t o  i n s t a l l
  8. [DefaultInstall]
  9. CopyFiles=copy.prog, copy.inf
  10. UpdateInis=Shortcut.Add
  11. AddReg=Reg.Add, Reg.Uninstall95.Add, Reg.Run
  12. Uninstall=DefaultUninstall
  13.  
  14. [DefaultInstall.ntx86]
  15. CopyFiles=copy.prog, copy.inf
  16. UpdateInis=Shortcut.Add
  17. AddReg=Reg.Add, Reg.UninstallNT.Add, Reg.Run
  18. Uninstall=DefaultUninstall.ntx86
  19.  
  20. ; W h a t  t o  r e m o v e
  21. [DefaultUninstall]
  22. DelFiles = copy.prog, copy.inf
  23. UpdateInis = Shortcut.Remove
  24. AddReg = Reg.Restore
  25. DelReg = Reg.Remove, Reg.Uninstall95.Remove, Reg.UninstallNT.Remove
  26.  
  27. ; W h e r e   t h e   f i l e s   c o m e   f r o m
  28. [SourceDisksNames]
  29. 1="CDmax","",1
  30.  
  31. [SourceDisksFiles]
  32. CDmax.exe=1
  33. CDmax.inf=1
  34. ReadMe.txt=1
  35.  
  36. ; F i l e   c o p y i n g   s e c t i o n s
  37. [DestinationDirs]
  38. copy.prog=24,%PROGRAM_FOLDER%
  39. copy.inf=17
  40.  
  41. ; w h a t   f i l e s   a r e   c o p i e d   w h e r e
  42. [copy.prog]
  43. CDmax.exe
  44. ReadMe.txt
  45.  
  46. [copy.inf]
  47. CDmax.inf
  48.  
  49. ; A d d  S h o r t c u t
  50. [Shortcut.Add]
  51. setup.ini, progman.groups,,"group1=%PROGMAN_FOLDER%"
  52. setup.ini, group1,,"""%PROGMAN_DESC%"",""""""%24%\%PROGRAM_FOLDER%\CDmax.exe"""""",,,,""%24%\%PROGRAM_FOLDER%"""
  53.  
  54. ; R e m o v e  S h o r t c u t
  55. [Shortcut.Remove]
  56. setup.ini, progman.groups,,"group1=%PROGMAN_FOLDER%"
  57. setup.ini, group1,,"""%PROGMAN_DESC%""
  58.  
  59. ; R e g i s t r y  A d d
  60. [Reg.Add]
  61. HKCR,AudioCD,,,"AudioCD"
  62. HKCR,AudioCD,"EditFlags",1,02,00,00,00
  63. HKCR,AudioCD\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
  64. HKCR,AudioCD\shell,,,"play"
  65. HKCR,AudioCD\shell\play,,,"&Play"
  66. HKCR,AudioCD\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe /play %1"
  67. HKCR,.cda,,2,cdafile
  68. HKCR,cdafile,,,"CD Audio Track"
  69. HKCR,cdafile\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
  70. HKCR,cdafile\shell,,,"play"
  71. HKCR,cdafile\shell\play,,,"&Play"
  72. HKCR,cdafile\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -play %1"
  73.  
  74. [Reg.Uninstall95.Add]
  75. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
  76. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\CDmax.inf"
  77.  
  78. [Reg.UninstallNT.Add]
  79. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
  80. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%11%\rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 4 %17%\CDmax.inf"
  81.  
  82. ; R e g i s t r y  R e m o v e
  83. [Reg.Remove]
  84. HKCR,AudioCD\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
  85. HKCR,AudioCD\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe /play %1"
  86. HKCR,cdafile\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
  87. HKCR,cdafile\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -play %1"
  88. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,,,
  89.  
  90. [Reg.Uninstall95.Remove]
  91. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
  92. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\CDmax.inf"
  93.  
  94. [Reg.UninstallNT.Remove]
  95. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
  96. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%11%\rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 4 %17%\CDmax.inf"
  97.  
  98. ; R e g i s t r y  R e s t o r e
  99. [Reg.Restore]
  100. HKCR,AudioCD\DefaultIcon,,,"%11%\shell32.dll,40"
  101. HKCR,AudioCD\shell\play\command,,,"%11%\cdplayer.exe /play %1"
  102. HKCR,cdafile\DefaultIcon,,,"%11%\cdplayer.exe,1"
  103. HKCR,cdafile\shell\play\command,,,"%11%\cdplayer.exe -play %1"
  104.  
  105. ; R u n   o n c e   i n s t a l l e d
  106. [Reg.Run]
  107. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,CDmax,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -SETUP"
  108.  
  109. ; L o c a l i s e d   s t u f f 
  110. [Strings]
  111. PROGRAM_FOLDER    = "Progra~1\CDmax"
  112. PROGMAN_FOLDER    = ""
  113. PROGMAN_DESC      = "CDmax"               ; Shortcut name
  114. REMOVE_DESC       = "CDmax"
  115.